home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / samba.idb / usr / share / catman / u_man / cat1 / testprns.1.Z / testprns.1
Encoding:
Text File  |  1998-10-28  |  6.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      TTTTEEEESSSSTTTTPPPPRRRRNNNNSSSS((((1111))))     tttteeeessssttttpppprrrrnnnnssss 1111....9999....11118888pppp11110000 ((((22220000 AAAAuuuugggg 1111999999998888))))      TTTTEEEESSSSTTTTPPPPRRRRNNNNSSSS((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           testprns - check printer name for validity with smbd
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           tttteeeessssttttpppprrrrnnnnssss _p_r_i_n_t_e_r_n_a_m_e [ _p_r_i_n_t_c_a_p_n_a_m_e ]
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.           This program is part of the Samba suite.
  16.  
  17.           tttteeeessssttttpppprrrrnnnnssss is a very simple test program to determine whether
  18.           a given printer name is valid for use in a service to be
  19.           provided by ssssmmmmbbbbdddd....
  20.  
  21.           "Valid" in this context means "can be found in the printcap
  22.           specified". This program is very stupid - so stupid in fact
  23.           that it would be wisest to always specify the printcap file
  24.           to use.
  25.  
  26.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  27.           _p_r_i_n_t_e_r_n_a_m_e
  28.  
  29.              The printer name to validate.
  30.  
  31.              Printer names are taken from the first field in each
  32.              record in the printcap file, single printer names and
  33.              sets of aliases separated by vertical bars ("|") are
  34.              recognised. Note that no validation or checking of the
  35.              printcap syntax is done beyond that required to extract
  36.              the printer name. It may be that the print spooling
  37.              system is more forgiving or less forgiving than tttteeeessssttttpppprrrrnnnnssss.
  38.              However, if tttteeeessssttttpppprrrrnnnnssss finds the printer then ssssmmmmbbbbdddd should
  39.              do so as well.
  40.  
  41.           _p_r_i_n_t_c_a_p_n_a_m_e
  42.  
  43.              This is the name of the printcap file to search for the
  44.              given printer name in.
  45.  
  46.              If no printcap name is specified, tttteeeessssttttpppprrrrnnnnssss will attempt
  47.              to scan the printcap file specified at compile time
  48.              (PRINTCAP_NAME).
  49.  
  50.      FFFFIIIILLLLEEEESSSS
  51.           ////eeeettttcccc////pppprrrriiiinnnnttttccccaaaapppp
  52.              This is usually the default printcap file to scan. See
  53.              pppprrrriiiinnnnttttccccaaaapppp(5)).
  54.  
  55.      EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT VVVVAAAARRRRIIIIAAAABBBBLLLLEEEESSSS
  56.           Not applicable.
  57.  
  58.      IIIINNNNSSSSTTTTAAAALLLLLLLLAAAATTTTIIIIOOOONNNN
  59.           The location of the server and its support files is a matter
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/26/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      TTTTEEEESSSSTTTTPPPPRRRRNNNNSSSS((((1111))))     tttteeeessssttttpppprrrrnnnnssss 1111....9999....11118888pppp11110000 ((((22220000 AAAAuuuugggg 1111999999998888))))      TTTTEEEESSSSTTTTPPPPRRRRNNNNSSSS((((1111))))
  71.  
  72.  
  73.  
  74.           for individual system administrators. The following are thus
  75.           suggestions only.
  76.  
  77.           It is recommended that the tttteeeessssttttpppprrrrnnnnssss program be installed
  78.           under the /usr/local/samba hierarchy, in a directory
  79.           readable by all, writeable only by root. The program should
  80.           be executable by all.  The program should NOT be setuid or
  81.           setgid!
  82.  
  83.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  84.           This man page is (mostly) correct for version 1.9.00 of the
  85.           Samba suite, plus some of the recent patches to it. These
  86.           notes will necessarily lag behind development of the
  87.           software, so it is possible that your version of the program
  88.           has extensions or parameter semantics that differ from or
  89.           are not covered by this man page. Please notify these to the
  90.           address below for rectification.
  91.  
  92.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  93.           pppprrrriiiinnnnttttccccaaaapppp(5), ssssmmmmbbbbdddd(8), ssssmmmmbbbbcccclllliiiieeeennnntttt(1)
  94.  
  95.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  96.           If a printer is found to be valid, the message "Printer name
  97.           <printername> is valid" will be displayed.
  98.  
  99.           If a printer is found to be invalid, the message "Printer
  100.           name <printername> is not valid" will be displayed.
  101.  
  102.           All messages that would normally be logged during operation
  103.           of ssssmmmmbbbbdddd are logged by this program to the file _t_e_s_t._l_o_g in
  104.           the current directory. The program runs at debuglevel 3, so
  105.           quite extensive logging information is written. The log
  106.           should be checked carefully for errors and warnings.
  107.  
  108.           Other messages are self-explanatory.
  109.  
  110.      BBBBUUUUGGGGSSSS
  111.           None known.
  112.  
  113.      CCCCRRRREEEEDDDDIIIITTTTSSSS
  114.           The original Samba software and related utilities were
  115.           created by Andrew Tridgell (samba-bugs@samba.anu.edu.au).
  116.           Andrew is also the Keeper of the Source for this project.
  117.  
  118.           The tttteeeessssttttpppprrrrnnnnssss program and this man page were written by Karl
  119.           Auer. Bug reports to samba-bugs@samba.anu.edu.au.
  120.  
  121.           See ssssaaaammmmbbbbaaaa(7) for a full list of contributors and details of
  122.           how to submit bug reports, comments etc.
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                         (printed 10/26/98)
  130.  
  131.  
  132.  
  133.